package com.aps.entity.dto;

import com.aps.entity.domain.dish.DishTypeSeq;

import lombok.Data;

/**
 * @author liaoguangan
 * @description <同步菜品类别>
 * @date 2018/4/2 18:48
 */
@Data
public class PosSyncDishType {

    private String typeCode;
    private String typeName;

    public DishTypeSeq build() {
        DishTypeSeq dishTypeSeq = new DishTypeSeq();
        dishTypeSeq.setCode(this.getTypeCode());
        dishTypeSeq.setName(this.getTypeName());

        return dishTypeSeq;
    }

}
